﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using App.Business.Implementation.Party;
using App.Business.Party;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using RrslLite.Extensions;
using RrslLite.Net.Attributes;
using RrslLite.Net.Ioc;

namespace App.Host.Web
{
    public static class ComponentRegistration
    {
        public static void Register()
        {
			IocHelper.ContainerInstance.Register<ICompanyService, CompanyService>();
			IocHelper.ContainerInstance.Register<ITestExceptionService, TestExceptionService>();
			IocHelper.ContainerInstance.Register<IPersonFacade, PersonFacade>();
			IocHelper.ContainerInstance.Register<ICountryFacade, CountryFacade>();
            
            KnownTypeProvider.RegisterModelDomainNamespace("App.Business.Entities");
        }
    }
}
